package com.aizuda.boot.modules.common.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 字段类型枚举
 */
@Getter
@AllArgsConstructor
public enum FieldTypeEnum {
    SINGLE_TEXT("SINGLE_TEXT", "单行文本", null),
    MULTI_TEXT("MULTI_TEXT", "多行文本", null),
    NUMBER("NUMBER", "数字", null),
    DATE("DATE", "日期", null),
    DATE_RANGE("DATE_RANGE", "日期区间", null),
    SINGLE_SELECT("SINGLE_SELECT", "单选项", null),
    MULTI_SELECT("MULTI_SELECT", "多选框", null),
    DROPDOWN_SINGLE("DROPDOWN_SINGLE", "下拉单选", null),
    DROPDOWN_MULTI("DROPDOWN_MULTI", "下拉多选", null),
    TREE_SINGLE("TREE_SINGLE", "树形单选", null),
    TREE_MULTI("TREE_MULTI", "树形多选", null),
    ATTACHMENT("ATTACHMENT", "附件", null),
    LINK("LINK", "链接", null),
    CURRENCY("CURRENCY", "币种", null),
    PERSON("PERSON", "人员", null),
    DEPARTMENT("DEPARTMENT", "部门", null),
    COUNTRY_REGION("COUNTRY_REGION", "国家地区", null),
    DETAILS("DETAILS", "明细", null),
    AMOUNT("AMOUNT", "金额", null),
    GROUP("GROUP", "分组", null),
    COUNTERPART_PEER("COUNTERPART_PEER", "交易方-对方", null),
    COUNTERPART_SELF("COUNTERPART_SELF", "交易方-我方", null),
    CONTRACT_TYPE("CONTRACT_TYPE", "合同类型", null),
    LINKED_CONTRACT("LINKED_CONTRACT","关联合同",null),
    ;

    private final String key;
    private final String value;
    private final String valueScope;
} 